
//
//  AddDeviceViewController.swift
//  OnceNectar
//
//  Created by 法正磊 on 2018/2/27.
//  Copyright © 2018年 com.inwhoop. All rights reserved.
//

import UIKit

class AddDeviceViewController: BaseViewController, BottomShadow, DelayExecution {
    @IBOutlet weak var mainView: UIView!
    @IBOutlet weak var searchView: UIView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        setUI()
        // Do any additional setup after loading the view.
    }
    
    func setUI() {
        titleLabel(text: "创建场景", nil)
        setShadow(view: mainView, opacity: bottomShadowOpacity, size: bottomShadowOffset, color: UIColor.black, cornerradius: CORNERRADIUS)
        delayExecution(time: 3) {
            let addFailureVC = AddFailureViewController(nibName: "\(AddFailureViewController.self)", bundle: nil)
            self.navigationController?.pushViewController(addFailureVC, animated: true)
        }
    }
    
    override func setNavigation() {
    }

}
